<?php if($sf_user->getAttribute('parent')): ?>
	<?php $categorie = CategoriesPeer::retrieveByPk($sf_user->getAttribute('parent')) ?>
	<?php echo link_to($categorie->getCategoriesName(), 'categories/subcategories?parent='.$sf_user->getAttribute('parent')) ?>
<?php endif; ?>